package com.yyjj.hangqing;

import android.os.Bundle;
import android.support.v4.app.Fragment;

import com.yyjj.hangqing.fragment.HQFragment;
import com.yyjj.hangqing.fragment.HomeHotListFragment;
import com.yyjj.hangqing.fragment.HomeListFragment;

import tech.com.commoncore.basecomponent.service.IHangQingService;

/**
 * Anthor:NiceWind
 * Time:2019/3/25
 * Desc:The ladder is real, only the climb is all.
 */
public class HangqingService implements IHangQingService {

    @Override
    public Fragment getHomeListFragment() {
        return HomeHotListFragment.newInstance("");
    }

    @Override
    public Fragment getHomeJxFragment() {
        return HomeListFragment.newInstance(null);
    }

    @Override
    public Fragment newEntryFragment(Bundle bundle) {
        return HQFragment.newInstance(bundle);
    }
}
//public class HangqingService implements IFragmentService{
//    @Override
//    public Fragment newEntryFragment(Bundle bundle) {
//        return HQFragment.newInstance(bundle);
//    }
//}
